package com.chixing.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.entity.User;

// IUserService.java
public interface IUserService extends IService<User> {
    // 注册
    boolean register(User user);

    // 登录
    String login(String phone, String password);
    User getUserByPhone(String phone);
    void resetUserPassword(String phone, String newPassword);
}

